A simple cash register made from JavaScipt