remove trailing comma's in definition for closure compiler