detect win, TODO handle it ! for Web
check win