add js tasks