JSlint cleanups
Fix bug on search when reloading a page and then hitting control keys when the search is empty