Template compiler for hogan.js