JS Publish/Subscribe and Request/Response