Javascript event-based communication layer between DOM and iframe.