Be gentle when the JS is not used in a browser (so no window object)
Add dependency status