you must be connected to the internet alert when users trys to connect offline and use jquery 2.0