Fix indentation error in renderExperiment.js
Some more work on template loading.