Revised commands.js.
Updated commands.js for deployment.