fixing formatting on index page
moving script includes