var callback = function() { "use strict"; // get brandData with widgetType, brandType, style, size, htid, langId var brandData = { widgetType: "rating", brandType: "Hotels", style: "Dark", sizeType: "Square", brandLink: "https://www.hotels.com", hotelLink: "https://www.hotels.com/hotel/details.html?pos=HCOM_US&locale=en_US&eds=false&hotel-id=461304#section-reviews", hotelName: "Princessa Vera Hotel Apartments", htid: "8356177", widgetName: "rating", clickDomain: "https://apps.expediapartnercentral.com/lodging/content/award/static", score: { reviewScore: "8.6", reviewCount: "170", grade: "Fabulous" }, language: "English" }; //get brandConfig with widgetType, brandType, style ,size var config = {"widgetElement":"