Fixes a typo in cmd.js.