Fix crash in IE8

Old versions of IE can't deal with unnecessary commas it seems.