added arbitrary helper functions to mustache