alertDetailWin,newticketsWin.js changes