Enhance groovy-html.template

Ah, you're right...missed the try