I should have clarified -- the enabler is added by the script, so all you need to do is setup your exit in Hype using the dropdown I showed in the screenshot above.
Here's what is added to the HTML file (enabler on the 5th line)
<!DOCTYPE html>
<html>
<head>
<meta name="ad.size" content="width=728,height=90">
<script src="https://s0.2mdn.net/ads/studio/Enabler.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
<title>30246-JPMorgan-1P_12sec HYPE2</title>
<style>
html {
height:100%;
}
body {
background-color:#FFFFFF;
margin:0;
height:100%;
}
</style>
<!-- copy these lines to your document head: -->
<meta name="viewport" content="user-scalable=yes, width=728" />
<!-- end copy -->
<script type="text/javascript" charset="utf-8" src="./HYPE-576.thin.min.js"></script>
<script>
(function () {
var thisHypeDocument = null;
function preInit() {
if (Enabler.isInitialized()) {
init();
} else {
Enabler.addEventListener(studio.events.StudioEvent.INIT, init);
}
}
function init() {
// Polite loading
if (Enabler.isVisible()) {
show();
} else {
Enabler.addEventListener(studio.events.StudioEvent.VISIBLE, show);
}
}
function show() {
if(thisHypeDocument != null) {
thisHypeDocument.showSceneNamed(thisHypeDocument.sceneNames()[0]);
}
}
function hypeDocumentLoadCallback(hypeDocument, element, event) {
thisHypeDocument = hypeDocument;
if(!Enabler.isInitialized() || !Enabler.isVisible()) {
// don't load the Hype document until DoubleClick Enabler has loaded and is visible
return false;
}
return true;
}
if("HYPE_eventListeners" in window === false) {
window.HYPE_eventListeners = Array();
}
window.HYPE_eventListeners.push({"type":"HypeDocumentLoad", "callback":hypeDocumentLoadCallback});
window.addEventListener('load', preInit);
})();
function hypeAdExit(identifier, url) {
if(url != null) {
Enabler.exitOverride(identifier, url);
} else {
Enabler.exit(identifier, url);
}
}
function hypeAdCounter(identifier) {
Enabler.counter(identifier);
}
function hypeAdStartTimer(identifier) {
Enabler.startTimer(identifier);
}
function hypeAdStopTimer(identifier) {
Enabler.stopTimer(identifier);
}
function hypeAdDummyInteractions() {
Enabler.exit();
}
</script>
</head>
<body>
<!-- copy these lines to your document: -->
<div id="30246jpmorgan1p12sechype2_hype_container" style="margin:auto;position:relative;width:728px;height:90px;overflow:hidden;">
</div>
<!-- end copy -->
<script type="text/javascript" charset="utf-8">
// HYPE.documents["30246-JPMorgan-1P_12sec HYPE2"]
(function(){(function k(){function l(a,b,d){var c=!1;null==window[a]&&(null==window[b]?(window[b]=[],window[b].push(k),a=document.getElementsByTagName("head")[0],b=document.createElement("script"),c=h,false==!0&&(c=""),b.type="text/javascript",b.src=c+"/"+d,a.appendChild(b)):window[b].push(k),c=!0);return c}var h=".",c="30246-JPMorgan-1P_12sec HYPE2",e="30246jpmorgan1p12sechype2_hype_container";if(false==!1)try{for(var f=document.getElementsByTagName("script"),
a=0;a<f.length;a++){var b=f[a].src,d=null!=b?b.indexOf("30246jpmorgan1p12sechype2_hype_generated_script.js"):-1;if(-1!=d){h=b.substr(0,d-1);break}}}catch(n){}if(true==!1&&(a=navigator.userAgent.match(/MSIE (\d+\.\d+)/),a=parseFloat(a&&a[1])||null,a=l("HYPE_576","HYPE_dtl_576",!0==(null!=a&&10>a||false==!0)?"HYPE-576.full.min.js":"HYPE-576.thin.min.js"),false==!0&&(a=a||l("HYPE_w_576","HYPE_wdtl_576","HYPE-576.waypoints.min.js")),a))return;f=window.HYPE.documents;
if(null!=f[c]){b=1;a=c;do c=""+a+"-"+b++;while(null!=f[c]);d=document.getElementsByTagName("div");b=!1;for(a=0;a<d.length;a++)if(d[a].id==e&&null==d[a].getAttribute("HYP_dn")){var b=1,g=e;do e=""+g+"-"+b++;while(null!=document.getElementById(e));d[a].id=e;b=!0;break}if(!1==b)return}b=[];b=[];d={};g={};for(a=0;a<b.length;a++)try{g[b[a].identifier]=b[a].name,d[b[a].name]=eval("(function(){return "+b[a].source+"})();")}catch(m){window.console&&window.console.log(m),d[b[a].name]=
function(){}}a=new HYPE_576(c,e,{"7":{p:1,n:"text3b.png",g:"236",t:"@1x"},"3":{p:1,n:"button-2.gif",g:"140",t:"@1x"},"8":{p:1,n:"text1b.png",g:"238",t:"@1x"},"4":{p:1,n:"text3a.png",g:"194",t:"@1x"},"0":{p:1,n:"background-image-2.jpg",g:"131",t:"@1x"},"5":{p:1,n:"text1a.png",g:"232",t:"@1x"},"1":{p:1,n:"footer-banner-2.png",g:"133",t:"@1x"},"6":{p:1,n:"text2.png",g:"234",t:"@1x"},"2":{p:1,n:"logo-2.png",g:"138",t:"@1x"}},h,[],d,[{n:"30246-JPMorgan-1P_12sec",o:"100",X:[0]}],[{o:"102",p:"600px",cA:false,Y:728,Z:90,L:[],c:"#FFFFFF",bY:1,d:728,U:{},T:{kTimelineDefaultIdentifier:{i:"kTimelineDefaultIdentifier",n:"Main Timeline",z:12,b:[],a:[{f:"c",y:0,z:1.19,i:"e",e:1,s:0,o:"251"},{f:"c",y:0.09,z:1.19,i:"e",e:1,s:0,o:"243"},{f:"c",y:1.19,z:1.11,i:"e",e:1,s:1,o:"251"},{f:"c",y:1.28,z:1.02,i:"e",e:1,s:1,o:"243"},{f:"c",y:3,z:1,i:"e",e:0,s:1,o:"243"},{f:"c",y:3,z:1,i:"e",e:0,s:1,o:"251"},{f:"c",y:3.28,z:1.19,i:"e",e:1,s:0,o:"245"},{y:4,i:"e",s:0,z:0,o:"243",f:"c"},{y:4,i:"e",s:0,z:0,o:"251",f:"c"},{f:"c",y:5.17,z:1.13,i:"e",e:1,s:1,o:"245"},{f:"c",y:7,z:1,i:"e",e:0,s:1,o:"245"},{f:"c",y:7.28,z:1.19,i:"e",e:1,s:0,o:"247"},{y:8,i:"e",s:0,z:0,o:"245",f:"c"},{f:"c",y:9.17,z:1.19,i:"e",e:1,s:0,o:"249"},{y:9.17,i:"e",s:1,z:0,o:"247",f:"c"},{y:11.06,i:"e",s:1,z:0,o:"249",f:"c"}],f:30}},bZ:180,O:["248","252","246","251","247","244","245","243","249","250"],n:"Untitled Layout","_":0,v:{"252":{h:"131",p:"no-repeat",x:"visible",a:0,q:"100% 100%",b:0,j:"absolute",r:"inline",c:728,k:"div",z:1,d:90},"245":{h:"234",p:"no-repeat",x:"visible",a:25,q:"100% 100%",b:28,j:"absolute",r:"inline",c:300,k:"div",z:14,d:34,e:0},"248":{c:726,d:88,I:"Solid",J:"Solid",K:"Solid",L:"Solid",aP:"pointer",M:1,N:1,A:"#320008",x:"visible",aA:{a:[{exportScriptOid:"DoubleClick Studio.hype-export.py",label:"Exit",p:15,s:"hypeAdExit",t:[]}]},B:"#320008",j:"absolute",O:1,dB:"button",z:19,C:"#320008",D:"#320008",k:"div",P:1,a:0,b:0},"251":{h:"232",p:"no-repeat",x:"visible",a:23,q:"100% 100%",b:12,j:"absolute",r:"inline",c:354,k:"div",z:18,d:34,e:0},"244":{h:"140",p:"no-repeat",x:"visible",a:597,q:"100% 100%",b:15,j:"absolute",r:"inline",c:111,k:"div",z:4,d:30},"247":{h:"194",p:"no-repeat",x:"visible",a:27,q:"100% 100%",b:14,j:"absolute",r:"inline",c:334,k:"div",z:13,d:35,e:0},"250":{h:"138",p:"no-repeat",x:"visible",a:588,q:"100% 100%",b:51,j:"absolute",r:"inline",c:126,k:"div",z:3,d:32},"243":{h:"238",p:"no-repeat",x:"visible",a:24,q:"100% 100%",b:47,j:"absolute",r:"inline",c:158,k:"div",z:15,d:30,e:0},"246":{h:"133",p:"no-repeat",x:"visible",a:477,q:"100% 100%",b:0,j:"absolute",r:"inline",c:251,k:"div",z:2,d:90},"249":{h:"236",p:"no-repeat",x:"visible",a:30,q:"100% 100%",b:51,j:"absolute",r:"inline",c:426,k:"div",z:11,d:27,e:0}}}],{},g,{},null,false,true,-1,true,true,false,true);f[c]=a.API;document.getElementById(e).setAttribute("HYP_dn",
c);a.z_o(this.body)})();})();
</script>
</body>
</html>