create tourutils.js : poll fns.

the first tournament utilities: polling.