shuffle the ajax request into its own class
javascript working in full search version