Bug fix: parseTemplate returns output if requirejs not included.
Small tweaks.