no trailing comma in js, makes ie8 and older behave incorrectly