fixes #3720

Fixes several typos and errors in the script documentation
Issue: http://www.cocos2d-x.org/issues/3720