"""Utilities for use in templates.
The jsfunc method replaces - with _ to allow for proper java script
function names.
"""