I'd rather have the offline page logic in ```marketplace.js``` (on initialization) rather than in the homepage view.