A really simple (but stable) implementation of pub/sub messaging pattern for Javascript