update index.html, connectivitySwitch.js