Fix inactivity timeout after page reload

A fix for Issue https://github.com/samie/Idle/issues/1