localize scripts fix in cookie alert