add calculation function on calculating.js