modernize node.js to current ECMAScript standards