MDL-28261 - Add PHP and JS to check network connection