Use text plugin to load the grid templates. The aggregated js doesn't
contain the grid templates otherwise.
Merge pull request #1453 from fmoloney/templateFixes

Load grid templates with text plugin.