add js to calendar