.js templates need to be processed with jinja as well (fixes #116)