Fixed Javascript trailing commas

Fixed Javascript trailing commas