apply handlebarsjs