The JMCNet library ported to JS