Revert "Update command_checkout.js"

This reverts commit 232b589195e14007e0b1eb64150c54286a8832c6.