add some cross origin options.