[javascript mode] Fix indentation of 'else' lines

Issue #1960