Update local storage data when offline
Moved offline mode setup to an explicit offline.html file