onbeforeunload if music is playing.