Added AMD loader plugin to load templates