 
             var ovvAssetSource: String = "{{OVVAssetJS}}";
             ovvAssetSource = ovvAssetSource
-                                .replace(/OVVID/g, _id)
-                                .replace(/INTERVAL/g, POLL_INTERVAL)
-                                .replace(/OVVBUILDVERSION/g, _buildVersion)
-								.replace(/OVVRELEASEVERSION/g, RELEASE_VERSION);
-
-			if (beaconSwfUrl)
-			{
-				ovvAssetSource = ovvAssetSource.replace(/BEACON_SWF_URL/g, beaconSwfUrl);
-			}
+                .replace(/OVVID/g, _id)
+                .replace(/INTERVAL/g, POLL_INTERVAL)
+                .replace(/OVVBUILDVERSION/g, _buildVersion)
+                .replace(/OVVRELEASEVERSION/g, RELEASE_VERSION);
+
+            if (beaconSwfUrl)
+            {
+                ovvAssetSource = ovvAssetSource.replace(/BEACON_SWF_URL/g, beaconSwfUrl);
+            }
             ExternalInterface.call("eval", ovvAssetSource);
         }
 

         * Generates a random ID for this asset. Creates JavaScript
         * callbacks, starts the RenderMeter and sets up ThrottleEvent
         * listeners, and initializes the JavaScript portion of OpenVV.
         *
         * @param beaconSwfUrl The fully qualified URL of OVVBeacon.swf for
         * OpenVV to use. For example, "http://localhost/OVVBeacon.swf". If
         * not supplied, the "beacon" method for detecting viewability will
         * be unavailable.
         * @param id The unique identifier of this OVVAsset. If not supplied,
         * it will be randomly generated.
         * @param adRef A reference to the top DisplayObject of the ad; used
         * to determine full-screen status when player's stage is not available.
         * Optional only for backwards compatibility.
         */
        public function OVVAsset( beaconSwfUrl:String = null, id:String = null, adRef:* = null ) {
            if (!externalInterfaceIsAvailable()) {
                dispatchEvent(new OVVEvent(OVVEvent.OVVError, {
                    "message": "ExternalInterface unavailable"


            _id = (id !== null) ? id : "ovv" + Math.floor(Math.random() * 1000000000).toString();

            if ( !!adRef ) {
                _ad = adRef as DisplayObject;
            }
            setStage();

            var beaconSwfUrl:String = "";
            if (conf is String) {
                beaconSwfUrl = String(conf); //  backward-compatible  - legacy API
            } else {
                // config object
                beaconSwfUrl = conf.beaconSwfUrl;
                _vpaidAd = conf.vpaidAd;
            }

            if (_vpaidAd == null && (Object)(adRef).hasOwnProperty('getVPAID') && adRef['getVPAID']  is Function) {
                _vpaidAd = (Object)(adRef).getVPAID();
            }

            ExternalInterface.addCallback(_id, flashProbe);
            ExternalInterface.addCallback("onJsReady" + _id, onJsReady);
