Better formatting for index.ejs.

Just a few formatting changes. Content for footer.js was moved out of index.ejs and into it's own file.