asyncPlatformFlush -> flush, and better IE compatibility.