vanilla JavaScript (no jQuery) + Handlebars

Rewritten in pure (vanilla) JavaScript.
Removed jQuery.
Added Handlebars.