add new file js/calculate.js