Commands are only enabled in JS files.

Closes #2