[story#011][xuhao & xuxiaojuan]:fix the register.js file's bug of alert