factor off view helpers to helpers.ls