Work on app cache. Snapshot before attempting to integrate code from new checkonline.js library. See: https://github.com/devinrhode2/check-online