add js of index