jslint and fix syntax error