THRIFT-2818 - Trailing commas in array

This fixes one of the obstacles to allow thrift to be able to run in IE8 using browserify.