JS updates and CSS tweak

Added updated cashRegister function which is shorter and cleaner as well
as minor syntax changes and added comments for other functions. Also
tweaked text size in CSS for a better display.