Fix initBrowser localStorage