Add script to index page.