How to access to mouse in the curent version of cocos2d-x 3.0 js bindings

There are a few problems with the current version of cocos2d-x on the desktop. And mouse access is completely removed from the API. The previous solution always results in a crash as the functions have been removed:

this.setMouseEnabled(true);

Is there a new way of accessing to the mouse in cocos2d-x 3?

setTouchEnabled.