NOTE: There will only be an "output" from this example when the browser shifts from offline to online.