adding browser's local storage support