Update session-expiration.js

Inserting bind to beforeunload for requests that returns a download