Update cashRegister.js

Updated the comments.