compile hbs files for server side