Fix console.warning bug that prevents page from loading

Currently if something fails to load from localStorage, the whole page is prevented from loading, since the function console.warning doesn't exist.

I've changed the call to console.warn which fixes this.