Addd simple GlobalVars class
Added magics to CachedArrayObject
Added JS queue functions