updated index.html, fixed some JS on layout.