Fix issue that prevented the app to run if javascript was enabled but
the client had no internet connectivity