sending x and y to client from node