Add javascript

Creating pull request to merge in updates for the calculator.