you should be able to just call that.locate instead of that.dom.locate