add calculator.js code from working with Ky and Andy