Fix issue related to returnValue in BeforeUnloadEvent
Merge pull request #403 from arv/return-value

Fix issue related to returnValue in BeforeUnloadEvent