Node.js supported methods for the browser and node.js