add js dependencies