Data: Work around IE11 bug with onpageshow attribute

Fixes #14894
(cherry picked from commit b8133e282ceebf502c7c08d849b176a929c9c450)

Conflicts:
	src/data.js
	test/unit/data.js