Online offline status API

This page runs navigator.onLine, check if online/offline status can be shown correctly