add js file to index