This version is old school.
Please find jQuery plugins on npm.
jQuery Server Observer
The Server Observer Plugin provides a simple and reliable way to check if the server-side application is available. Hopefully it will help people to use HTML5 offline mode.
Versions
Version
Date
0.9.0
Feb 04, 2013