Template changes

Not too much changed but got to the bottom of how templates work in
Underscore.