Fix syntax error reported by jshint