Add JS files to pages