Proposal: give different DOM concrete classes different JSClasses. Hang whatever information we need for a quick unwrap off these JSClasses (presumably by subclassing the JSClass struct and maybe having a flag on JSClass to indicate when we're using such a subclass). For example, we could hang the current offset tables off of there. Or something else, if that would be useful. Need to figure out what's most beneficial here.
Peter, shall we call this fixed with Paris bindings?
Fine by me.
Alright, fixed. The setup in comment 0 is exactly what Paris bindings do.