+jsdoc
 refactor nextTick