Added template in index.html with moustaches
added mustache and fixed errors