Using Mustache for the html
Templating the javascipt
Removed some dead code
Changed mustache extension into .html/.js