getElementByContentId uses better attr as finding heuristic