Remove Trailing Comma and other non IE8 compatible code