change all javascript:void(0) to javascript:; and remove unnessary codes in global.js