making UI take precedence
<p>How can I create an environment in client-side javascript where any code related to user interface and views takes precedence over other code?</p>

<p>I know you can push things to next tick with <code>setTimeout([function],0);</code></p>

<p>How could I build a system to do this on a widespread basis? </p>
