use command line for name input to replace javascript prompt