Add a function to traverse down the dom given an om path