Use .parentNode to pass in old firefox