trailing comma no bueno in js