Changed title on index.html, moved JavaScript to its own file.