[javascript mode] Fix bad indentation below if

Closes #1662
Add another exception to the spanAffectsWrapping hack

And turn the hack off in recent Chrome builds.

Issue #1663