Moves IE xPath hack to the bottom of the script