Update sessiontimeout.js

Updated as per "Update sessiontimeout.js (#2897)"