update Readme
implement command line option using minimist
fix jshint issues