Since XPathJS only supports pages in standards mode, we should add a check that throws an error if that is not so. http://www.webmasterworld.com/forum21/6361.htm