argv parser for the browser and node.js