Update epilgrim.sessionTimeoutHandler.js

wrapper for better compatibility.
Merge pull request #1 from hemantsan/patch-1

Wrapped main function for better compatibility