remove commas after last elements in objects to fix script parsing in ie7
Merge pull request #143 from vslinko/patch-1

remove commas after last elements in objects to fix script parsing in ie7