simplify flag parsing for getDocumentInfo, jshint cleanup
simplify flag parsing for getDocumentInfo, jshint cleanup

camikazegreen/photoshop-scrambler,kristjanmik/generator-assets,alesitalugo/generator-core,camikazegreen/photoshop-scrambler,MikkoH/generator-core,camikazegreen/photoshop-scrambler,adobe-photoshop/generator-core,jaredadobe/generator,codeorelse/generator-core