modify cocos2d.js.
Merge pull request #18 from shujunqiao/myWork

modify cocos2d.js.