I generally like the new approach, but unless I'm missing something, this would not work when mixed compat modes are involved. There are a few objects like location that are in quicks mode even when the document is IE11 otherwise. Should we give them an id in IE9+ too?