Thanks. WP-Discourse had too many issues.
So I can change the code to
DiscourseEmbed = { discourseUrl: 'http://discourse.example.com/',
discourseEmbedUrl: 'http://example.com/blog/entry-123.html' };
and it should work, right?