Better error handling and error messages when network connection is lost
Created by: jblarsen
Since IFM Maps is used heavily on mobile devices users from time to time lose their network connection when using the app (or the index.html is simply cached) and the XHR/AJAX requests fail with error messages that give no indication of what the problem is.