create calc.js

The first version.