Internet Explorer trailing comma bugfix

@markewallace - Hi Mark. I fixed the IE trailing comma issues.