Fix incorrect remoteDir jsdoc
Merge pull request #652 from thaiat/fix-typo

Fix incorrect remoteDir jsdoc
Fix Error handling for generator
Fix per simon comment