LPS-44451 Remove trailing commas in JS.