added mustache.js and mustache templating, after much pain