Update calculator.js