changed all demo pages to suit, added mustache syntax to templates