added scripts to index page