[javascript mode] Style operators

Closes #2123