Added title to index.html, and alingned some JS code.