update plonk.tick to be a proper nextTick polyfill