Don't return null in onbeforeunload (http://stackoverflow.com/questions/11793996/onbeforeunload-handler-says-null-in-ie)
Merge pull request #41 from manelclos/master

Don't return null in onbeforeunload