Fix a JavaScript syntax error.