Topic/js cleanup

* Accidentally included a commit to start moving Brian's changes to search.html over, shouldn't hurt anything (I stopped because some of the stuff he changed no longer exists so I figured I'd just wait on it).
* Add .jshintrc.  This should also improve our jshint stats in jenkins (note it must be in that dir since that's where jenkins tests are run from)
* Cleanup some random js stuff