If there is a solution that works across the browsers we support (Firefox 3+, IE 6+, at least Safari 3, and ideally the latest Opera), works with dojo.requireLocalization, works with the closures that are used for multiversion/xdomain support, and is not a very big solution, then it can be handled in the ticket as a patch.
I think that is a pretty high bar to reach though. If you need it for a specific project that does not care about Safari/WebKit? browsers, then you could monkey-patch in execScript for the specific app.