Update gems
Add type attribute to embedding tag
Change element type of template: script -> template

When script, innerHTML remove end tag.