Updated timeout message javascript to jquery