more cjs tweaks. sensible exports and use api, added templating
0.4.0
new min files and docs