small jshint fix + making search not case sensitive