Added fun console.log to ping, used fn.apply to avoid "this" buttcramp.