hogan.js as a component