Fix #1639 "IE7: Scripts crash"

- IE7 doesn't support trailing commas