cosmetic changes to calculator.js