Forcing a UI redraw from javascript

Forcing a UI redraw from javascript. A few alternatives in the comments, as well.

---

There are 2 other entries posted on this day.