Add listLanguages() API methods and fix export.html

@isagalaev please review API changes.