Make hogan.js component-compatible

This lets people install hogan.js for easy browser-side integration.