Added js functionality for calc