Minimal embedded javascript templating