In reply to Pascal Birchler.

I agree. I was actually kind of surprised that it wasn't already in core when I found out how simple it was to implement. I considered just submitting a ticket to Trac, but things have a tendency to get buried over there so I went the plugin route instead.

I was hoping there was a filter that could be used to modify the markup without JS, but alas none seems to exist. Brady found the best hook to fire the JS and thus the plugin was born. :P

If any core developers read this, I think it would be a great addition to core and I'd happily deprecate the plugin once it was added.