Fixup for Bootstrap 3

Resolving error: Cannot read property 'template' of undefined