jshint/fix misc parser errors