Removed some trailing comma's causing cscript to fail

Fixed some trailing comma's
edit: this doesn't cause any real issues as the trailing comma isn't (always??) emitted but I guess it is also coding style