var gwdomain = 'https://www2.enets.sg';var apigwdomain = 'https://api.nets.com.sg/GW2/TxnReqListener'; var jsSrc = 'https://www2.enets.sg:443/GW2/js/jquery-3.6.0.min.js'; var s = document.createElement( "script" ); s.setAttribute( "src", jsSrc ); document.head.appendChild( s );