add support for js

 * support compiled templates concatenated with js files
 * limit to harcoded extensions (WIP to be removed)