Syntax error in js.