update telnet.js and telnet-scheduled.js