Search JS - resolve some of jshint/jslint notices.