A native JavaScript implementation of the publish/subscribe pattern.