Remove trailing comma in JS object literal

For compatability with IE <= 8. cf http://www.2ality.com/2013/07/trailing-commas.html
Merge pull request #103 from duncanjbrown/patch-1

Remove trailing comma in JS object literal