3.0.6
Check if window is undefined in system.