improved html snippets

and also added script tag for handlebars