Use vendor prefix for visibilitychange event