fix(js/templating.js): valid preview overwritten by not-avail placeholder