generator controller now generates only .js files