jshint and fix for static browser