Some more commons-js and node.js compatibility