modify http view for crossdomain issue and add crossdomain decorator