add option to specify machine name
improve jsdocs
bump version 2.2.0