This is the real reason I implemented it in JS.  Crude for now...