Small jshint warning fix + making query term not case sensitive