add js to javascript calc