If you'd like trailing commas in your JavaScript, one of the tiny things that CoffeeScript does is allow trailing commas, or for commas to be omitted altogether on multi-line array and object literals.
This feature is also in C and in Go language. It makes especially easy to write code generators, because you don't have to deal with first/last special cases.