Update templates so zero option criteria do not render in examples

Quick fix to exclude criteria with zero options on load. 

Updating some Javascript as well, to set the appropriate criterion name in the data attributes.

@wedaly @gradyward