finished window js