Use next tick

`sinon.useFakeTimers` broke tests for some reason, so I used `setTimeout` instead.

it seems that ```postMessage``` works in IE10. Maybe we can remove it, too.
http://caniuse.com/#search=postMessage