Linked javascript file to index page.