fixed the search and cleand up the jquery code.  Also switched from deprecated
complete to done function
Merge pull request #1 from wegrata/fix-search-query

fixed the search and cleand up the jquery code.  Also switched from depr...