Remove comma before close brace of two objects

An comma before the closing brace of an array/object definition can cause problems in some JS engines.
Merge pull request #1 from dharkness/patch-1

Remove comma before close brace of two objects