Implementation of a publisher-subscriber pattern in JQuery to poll network availability
By Felipe Heidenreich at May 16 2022