Create js bundles on a per template basis.

This bundles and minifies all needed js for each
template.

Ignore gen folder for generated webassets.