fix for crossdomain ajax queries