Certain JS files are only included if the user is on the 'index' page.