command line argument processing for nodejs