fix cross domain detection in JAK.Request