Nevermind, I got it working!
now, in your index.html or your webbrowser’s console, all you have to do is to write:
var MyTester = new arm.BoxGenerator();
This will spawn a new cube.
I’m completely blown away by all this haxe / kha / armory stuff .