Stupid JS syntax error fix