Update SLF4J and Servlet API dependencies
Use beforeunload event
Merge pull request #4 from martin-g/use-beforeunload

Use beforeunload event
Merge pull request #2 from martin-g/version-updates

Version updates