Prevent localStorage errors in private browsing mode
Add check to sessionStorage also
Merge pull request #1 from DJaeger/localstorage

Prevent Storage errors in private browsing mode