WhatLine.js is a simple and better way to detect and show message to online/offline users. (Cross-Browser)