Node's v0.9+ reusable console module for older versions