Removed markup from jQuery

All done using <template> tags in the HTML.