so, the problem is right here: you see that local user id colon -1 doesn't have a comma after it, it just ends and since it was expecting a comma, well javascript inserts a semicolon, and that causes issues.