add callbacks to memjs set