Merge PR https://github.com/cocos2d/cocos2d-js/pull/170