A JS module that tells you are offline or not. Einfach!