add js & algorithms