Switch templating engine to Handlebars on the client.

Resolves #351