add and modify some functions
add warnerrule of scriptalert,and modify some messagemodal