remove return on beforeunload handler