could someone help change this code? When it disconnects the internet and reconnects. When I disconnect the internet and reconnect the JS code no longer works. I would like the