adding js file for each page