Fix JS syntax error.