mod main.html add checkConnection