Added some scripts and reorganized the index page.