modify handlebars template markup so that script tags can be used, need shim for ie8