Added posibility to send cross domain messages