Serve using localStorage when offline