auto detect js or coffee for subgenerators
updated the tests