re-implement nextTick with MutationObserver
remove rAF and fix tests on IE10