closed #3290: [JSB] The order of onEnter and onExit is wrong.

For Details, please refer to http://www.cocos2d-x.org/issues/3290