Enable sub-word mode when editing javascript