Fix #467 - Make app work in offline mode

We probably want to bundle this, no?