added mustache and tab click handlers