Js Find Parent Element With Highest Ionization