a simple wrapper for browser and node.js code writing