trailing commas fix

IE8 (and below) will parse trailing commas in array and object literals incorrectly