Remove trailing commas from object property lists

Removing trailing commas for:

- internal consistency;
- compatibility with the Google Closure compiler defaults.

The Google Closure compiler assumes ECMAScript 3 and emits errors when
parsing objects with trailing commas in their property list.
(Compilation succeeds if the user manually specifies ECMAScript 5.)