Update AdMasterFunctions.js