added calc.js