Issue #5894: adds jsDocs to Cocostudio.

adds jsDocs to Cocostudio.