prevent jsbin from crashing when ping is undefined