Better static injection with jsdom