Added support for IE7 not having the document.querySelectorAll() function.