No longer emit trailing comma on object literals for ES3.

This was done because trailing commas in object literals are not accepted by ES3.

Fixes #271.