Running KotlinJS on Bangle.js OpenSource Smartwach

I’ve founded the open source smart watch Bangle.js on Kickstarter.
It would be awesome to use my favorite program ming language on this device and i have no JavaScript experience. Can somebody give advice how create an Intellij project that is capable to produce code that is executable on the Espruino JavaScript interpreter on this watch?
I’ve tried the code produced by the browser and Nodejs target without success.
It is needed to create a new KotlinJs target?

You can try the everything in the Bangle.js emulator

Goal:

  • Gradle project that produces JavaScript code that is executable on Bangle.js