IE 10 fails this, but passes if set timeout 10, :)