Fixed js on should return if it is the root node