add js files for each page