Update commands.js

terlor's fix