[javascript mode] Add statementIndentUnit option, tweak indentation

Issue #1553