Removed window.device