window.navigator.onLine evaled on instance creation