FIX JS on IE

Trailing commas are not allowed on older IE versions