Why not put this helper function in the `view_helpers.js` file?