added ping.js