TemplateChecks: support casting to a number as a way to ensure an expression is safe in CSS and JS