Try this:
window.addEventListener("message", function(e) {if(e.data == 'jrc') console.log('loaded')}, false);
That should work in IE 8+ and all other browsers: http://caniuse.com/#feat=x-doc-messaging
If that doesn't work in IE 8 (can't test in on my Mac right now), let me know. I believe I got some reasonably good understanding of the rs.js in the last hour. ;)