JavaScript implementation types for Amur Diagram Editor & Code Generator