[javascript mode] Fix indentation after trailing-comma array

Closes #2753