Added generated groovy and JS api