Thread:User talk:Yair rand/Adding translations using Javascript

You seem to be a wizard with Javascript in Wiktionary. Do you know whether there is a Javascript API like this: 'addTranslation(String entry, String translationGloss, String language, String translation)', which adds the translation in the language to the entry to the translation section with '{{trans-top|'+translationGloss? Conrad Irwin's editor.js is a place I was looking at, but I did not figure it out in a reasonably short time.