{ let scriptID = 'js-header-sneak-peek'; let images = [ { url: '/october-2021-edition/', imgSrc: '/content/revamp/sneak-peek/oct-2021/dropdown/Auvere_2021_EcomModel_Earring_Hoop_XL_LK06_0313.jpg', subtitle: 'OCTOBER 2021 EDITION', style: 'object-position: right', }, { url: '/november-2021-edition/', imgSrc: '/content/revamp/sneak-peek/nov-2021/dropdown/2.jpg', subtitle: 'NOVEMBER 2021 EDITION', style: 'object-position: right', }, ]; let html = _.template(`

`)({images}); document.querySelector('#' + scriptID).outerHTML = html; } //