Added some support for IE 8 query tag selector