Basic application covering localStorage of browser in HTML5