update templateTruthy function to be exactly equivalent to handlebars logic; use lookup function from within racer