Remove trailing comma from javascript object literal

Change-Id: I629a21eeeae810fe7d6bf805cfbaa61225e00963
Merge "Remove trailing comma from javascript object literal"