changed compileTemplate method to use Handlebars.js

Hi. I want to use template engine with Handlebars.js

So I changed source line to use handlebars.

Check it plz.