now *.js files are treated as JAvaScript, all others as template, keep CR/LF