removed lodash.template dependency