renamed domObject to object, removed hasRel dom method, and changed rel matching code