Additional error checking for salience jade template.