Port of https://github.com/spalx/cocos2d-x-extensions gesture recognizers for cocos2d-js