Fixed JS syntax error that onlt Chrome was throwing up.