Template Functions in ContentEngine.js