LPS-44451 - IE7 does not handle trailing commas properly.

Hey @natecavanaugh,

Attached is an update for http://issues.liferay.com/browse/LPS-44451.

NOTE: These changes have to be cherry picked into liferay-plugins-ee as well.

Please let me know if you have any questions.  Thanks!