Check for window before add charts