Basic Cash Register built on vanilla Javascript