flipper = new Object(); flipper.active_flags = {"active_flags": ["GoogleAnalytics_Enable", "CMSTC-969", "CMSAP-1119-visible", "CMSSAI-858", "twitter_card", "disable_auth_recovery", "JANUS-8", "mobile_image_slider", "JANUS-141", "E-02122_pointslocal_enabled", "urban_airship", "CMSTC-1011", "new_event_urls", "MaxMapRadar_Enable", "JANUS-1244", "JANUS-1266", "JANUS-1264", "CMSPD-415", "CMSSAI-1343", "Chartbeat_Enable", "HYBRID_LISTS", "JANUS-4777", "CMSAM-408", "ComScore_Enable", "image_slider", "CMSWTA-416", "CMSTSBC-169", "qualtrics_enable", "Quantcast_Enable", "VisualRevenue_Enable", "JANUS-2941", "JANUS-1686", "dfp-srm", "JANUS-4778", "B-02573", "CMSTSBC-165", "JANUS-4779", "CMSTSBC-163", "CMSTSBC-166", "SchoolClosingsKeywordSearch_Disable", "B-08627", "jquery-2", "B-10108", "AppMeasurement_Enable", "MaxMapRadarWired_Enable", "CMSTC-1192", "B-11042", "B-06796", "B-12899_taboola_enabled", "CMSWTA-417", "CMSWTA-443", "B-14578", "B-16022"]}.active_flags; flipper.is_active = function(key) { for (var i = 0; i < flipper.active_flags.length; i++) { if ( flipper.active_flags[i] == key ) return true; } return false; }