Fix jslint syntax errors