How to set overflow to the label using JavaScript

I am new to coocs2d. I have been using it for 4 weeks and using JavaScript to code.

I am trying to set overflow for the label which is possible in C++ using setOverflow() function but not in JavaScript according to the API Documentation. Kindly help me in achieving the same in JavaScript.

Is is possible to expose that API to JavaScript using some bindings?
Can someone help me in achieving that is possible?

Correct me if I am wrong. In addition to setOverflow I found that some APIs which are available in C++ are not available in JavaScript.

Note: I am trying to run the game in browser.

Thanks in advance.