Update getArgs.js

fixed a variable error. at line 41, opt should be args.