Removed non-required setGlobal from JS