1) env.js should look for sslOnNormalPorts, not ssl
2) polling had a format call messed up
3) Add a few more seconds because apparently javascript scheduling is even worse than originally thought