Fix array module in node.js environment

It was causing problems during MML->JSON conversion.