update command.js
add CDUP command
reduce indent
Merge pull request #2 from Lellansin/master

update command.js