Fixed JS syntax error