Update sessiontimeout.js

Updated to address issue #3097.