Trailing comma in js works in some browsers but I think it's not syntactically correct.