Fail the build when JSDoc fails.
Fix doc build
Merge pull request #1088 from AnalyticalGraphicsInc/fixDocError

Fail the build when JSDoc fails.