Make `this` act like in node.js