IE8 and below polyfill for the W3C Selection API