add js into index