JS microlibrary to constructing powerful event dispatchers