Be gentle when the JS is not used in a browser (so no window object)
Add dependency status
Fixing tests after c9bc13e
Update dependencies