remove trailing commas for ie <8