fixed #3278, finish chapter 4 of cocos2d-html5 tutorial