stop using navigator.onLine completely, closes #75