added injectable window object