add Window#closed to web.jsx