$( "#search_form" ).submit( function() {
  
  window.location.href = $( "base" ).attr( "href" ) + username + "/s/" + $( "#search_query" ).val().replace(/[^0-9a-zαινσϊρ]+/ig, "-");
  
  return false;

} );

$( "#search" ).show();