Require console via javascript
Stub implementation for createServer and Server.listen