auto detect js or coffee for subgenerators

fixes #35