Command Line Argument Parsing In Javascript