xdomain must be loaded/initialized first