Enable as default for Javascript files

I would like to leave one style suggestion (the rest of the code seems to be consistent with this): drop the `()`. Take it with a grain of salt, as I'm not a regular contributor; I'm only observing the code.