fixed okBtnText no set
updated js