Very ugly cross domain requests