Fix trailing comma

For better compatibility in IE8 by avoiding trailing commas in objects and arrays.
Reference: http://rauschma.github.io/js-feature-matrix/