fix jshint warnings on browse.js