//RUNS after all the declarations
//Running the models
var source1 = new AV.Source({
	name: 'default name...',
	type: 'raw',
	contentType: 'txt',
	data: "default..."
});
//attaching view to Model
var source_view = new AV.UploadSourceView({el: $("#search_container"), model: source1 });

var destroy_view = new AV.DestroySourceView({el: $('#destroy_container'), model: source1});

source1.save();

source_view.render();

destroy_view.render();


source1.destroy({success: function(){
		console.log("model destroyed");
	},
	error: function(){
		console.log("failed destroy");
	}
});

//console.log("INSIDE OF THE MAIN!");

@@ -58,17 +58,24 @@
 r source
-1
+Instance
  = new A
@@ -280,17 +280,24 @@
 : source
-1
+Instance
  %7D);%0A%0Ava
@@ -381,17 +381,24 @@
 : source
-1
+Instance
 %7D);%0A%0Asou
@@ -400,17 +400,24 @@
 %0A%0Asource
-1
+Instance
 .save();
@@ -476,9 +476,16 @@
 urce
-1
+Instance
 .des

rename vars in index