added more magic to support javascript ajax cross domain pre flight requests