update js/calculation.js