[js] Fix some case in cli