Fixed search form submit using javascript