Updated handlebars to use data object also removed the templating
Added a check to ensure dataHBS is passed