This is not backward compatible. If target was a selector string, it must start `#` or `.`. To be backward compatible you need to do `getElementById(target.substring(1))` - which is what original (the one right after Sizzle) getElementById does.