ensure global is present in js-shell