util.nextFrame(callback [, context])
Tell the browser to schedule the callback
function to be called before the next repaint.
This is a cross-browser version of the window.requestAnimationFrame function.
Returns an ID of the frame request. For convenience, you can pass a context
for your callback
function.