Update index.html

Replacing initializer to use localstorage