[javascript] Logical operator in a handlebars.js {{#if}} conditional