added cross domain logic check on xmlhttprequests for Firefox to prevent issues with 3rd party cookie blockage