Simple message passing library written with ECMAScript