Resolved JS errors on index.html.