issue #2826: Bug fixes after using Spidermonkey v25.  Adding JSB_AUTOCOMPARTMENT_WITH_GLOBAL_OBJCET macro.