Templating: added helper escapeUrl