enums for all pubsub events. create enums from what's in the javascript files.