draft of a JS E3X interface