Can call ping.js from anywhere
Two bugfixes