fixed #3247, finish chapter 6 of cocos2d-html5 tutorial