Remove eval condition checker in templates.js