Adjusting recursive functions for inverse

It seems that ``inverse`` is no longer with ``program`` according to https://github.com/mmun/handlebars.js/commit/eee2c4d4f29e233280907bc89a32556de66fe783