ignore window object
try to handle anonymous constructors