Remove a trailing comma inducing an error in IE 8 and below