Update command.js

Uncommented working code, removed static test variable
Merge pull request #1078 from kxynos/patch-1

Update command.js