update js, add more message into script