Grid template fix

The templates need to be loaded using the text plugin for consistency and for the templates to be packaged in the aggregated js.

Also fixes copyright header.