var participantPortal={}; participantPortal.print=function(msg){ console.log(msg); } participantPortal.init= function(cb=null){ let that=this; let action=function(){that.scriptsLoaded(cb);}; LABKEY.Utils.requiresScript(["crfTecant/runQuery.js"],action); } participantPortal.scriptsLoaded= function(cb=null){ if (cb) cb(); } participantPortal.generateFormArray= function(){ let that=this; let action=function(){that.fcontinue0();}; this.init(action); }