Minimal Message Dispatcher for JavaScript