add handlebars compilation
fix handlebars templates output in build