Fixed #3501: Modify some codes for NPM
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-html5 into Iss3501_ReleaseV2.2.2
Merge pull request #1443 from dingpinglv/Iss3501_ReleaseV2.2.2

Fixed #3501: Modify some codes for NPM