(function () {
    "use strict";
    /*global Cesium,Sandbox*/

    Sandbox.BingMaps = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // Bing Maps
            var bing = new Cesium.BingMapsTileProvider({
                server : 'dev.virtualearth.net',
                mapStyle : Cesium.BingMapsStyle.AERIAL,
                // Some versions of Safari support WebGL, but don't correctly implement
                // cross-origin image loading, so we need to load Bing imagery using a proxy.
                proxy : Cesium.FeatureDetection.supportsCrossOriginImagery() ? undefined : new Cesium.DefaultProxy('/proxy/')
            });

            primitives.getCentralBody().dayTileProvider = bing;
        };
    };

    Sandbox.ArcGIS = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // ArcGIS World Street Maps
            var arcgis = new Cesium.ArcGISMapServerTileProvider({
                host : 'server.arcgisonline.com',
                root : 'ArcGIS/rest',
                service : 'World_Street_Map',
                proxy : new Cesium.DefaultProxy('/proxy/')
            });

            primitives.getCentralBody().dayTileProvider = arcgis;
        };
    };

    Sandbox.OSM = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // OpenStreetMaps
            var osm = new Cesium.OpenStreetMapTileProvider({
                proxy : new Cesium.DefaultProxy('/proxy/')
            });

            primitives.getCentralBody().dayTileProvider = osm;
        };
    };

    Sandbox.MQOSM = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // MapQuest OpenStreetMaps
            var mqOsm = new Cesium.OpenStreetMapTileProvider({
                url : 'http://otile1.mqcdn.com/tiles/1.0.0/osm/',
                proxy : new Cesium.DefaultProxy('/proxy/')
            });

            primitives.getCentralBody().dayTileProvider = mqOsm;
        };
    };

    Sandbox.MQAerialOSM = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // MapQuest Aerial OpenStreetMaps
            var mqAerialOsm = new Cesium.OpenStreetMapTileProvider({
                url : 'http://oatile1.mqcdn.com/naip/',
                proxy : new Cesium.DefaultProxy('/proxy/')
            });

            primitives.getCentralBody().dayTileProvider = mqAerialOsm;
        };
    };

    Sandbox.Stamen = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // Stamen maps: http://maps.stamen.com
            // Other map urls:
            // * http://tile.stamen.com/watercolor/
            // * http://tile.stamen.com/terrain/
            var layer = new Cesium.OpenStreetMapTileProvider({
                url : 'http://tile.stamen.com/toner/',
                fileExtension : 'jpg',
                proxy : new Cesium.DefaultProxy('/proxy/'),
                credit : 'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.'
            });

            primitives.getCentralBody().dayTileProvider = layer;
        };
    };

    Sandbox.Single = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // Single texture
            var single = new Cesium.SingleTileProvider('Images/NE2_50M_SR_W_4096.jpg');

            primitives.getCentralBody().dayTileProvider = single;
        };
    };

    Sandbox.CompositeTiler = function (scene, ellipsoid, primitives) {
        this.code = function () {
            // Bing Maps
            var bing = new Cesium.BingMapsTileProvider({
                server : 'dev.virtualearth.net',
                mapStyle : Cesium.BingMapsStyle.AERIAL,
                // Some versions of Safari support WebGL, but don't correctly implement
                // cross-origin image loading, so we need to load Bing imagery using a proxy.
                proxy : Cesium.FeatureDetection.supportsCrossOriginImagery() ? undefined : new Cesium.DefaultProxy('/proxy/')
            });

            // Single texture
            var single = new Cesium.SingleTileProvider('Images/NE2_50M_SR_W_4096.jpg');

            // Composite tile provider
            var composite = new Cesium.CompositeTileProvider([{
                provider : single,
                height : 1000000
            }, {
                provider : bing,
                height : 0
            }], scene.getCamera(), ellipsoid);

            primitives.getCentralBody().dayTileProvider = composite;
        };
    };

}());

@@ -974,123 +974,92 @@
     
-host : 'server.arcgisonline.com',%0A                root : 'ArcGIS/rest',%0A                
+url : 'http://services.arcgisonline.com/ArcGIS/rest/
 service
- : '
+s/
 World_
-Street_Map
+Imagery/MapServer
 ',%0A 

Update Sandbox to call correct constructor.