IPN Validator on JS using/reading XML file