local version pong on JS