Merge pull request #2220 from dingpinglv/Iss5894_CocostudioDocs

Issue #5894: adds JsDocs to widget reader
Issue #5894: adds jsDocs to Cocostudio component.