This library aims to provide a Promise generic implementation of a cross-window connection using MessageChannel in modern browsers.
You must define this before creating any promiseConnection
objects, point it at whatever promise implementation you like.
<script src='promise-connection.js'></script>
<script>promiseConnection.Promise = window.Promise</script>