fixed html replacing bug, now loads content from localStorage