The Fastest For-In Loops in the Whole Wide Web
pointersgonewild.wordpress.com
pointersgonewild.wordpress.com
I haven't looked at your code, but have you tried to have more complex JavaScript constructs still implemented in JavaScript, e.g. like it seems Firefox does that here:
http://dxr.mozilla.org/mozilla-central/source/js/src/builtin...