MDL-28261 - Add empty txt file and JS object to check network connection