Problem
There are cases, like in T191939, where it would be beneficial to parse Wikitext without making a request to the server.
Solution
There should be a way for Parsoid to be used as a stand-alone (to convert wikitext to HTML DOM and vice-versa) library.
Any node.js specific bindings should be abstracted.
This would replace mediawiki.jqueryMsg