add js work to date