improvements to abstract all command line parameters to a javascript object