Check that images have valid dimensions (issue 4575)
Creates make.js code to build jsdoc.
Merge pull request #4616 from yurydelendik/jsdoc

Creates make.js code to build jsdoc.
Refactors buildImage to use Promise; don't draw bad images
Merge pull request #4613 from yurydelendik/buildImagePromise

Refactors buildImage to use Promise; don't draw bad images
Merge pull request #4581 from Snuffleupagus/issue-4575

Check that images have valid dimensions (issue 4575)