Remove eval condition checker in templates.js

@lodr R?