fireEventToScript sounds good, I will update the codes. as soon as I get a chance to setup the https://github.com/cocos2d/cocos2d-js.git repo I will submit a PR there