Found an approach to use JavaScript templates compiled with Hogan.js in Knockout.