A simple pub/sub module for JavaScript