Load offline html

Detect when application offline and load from html saved locally