Generate JavaScript from and Ecore Model