A boilerplate for handlebars templating with json and ajax