Update mt-data-api.js.

* Update documentation about constructor