define([
	"dojo/_base/declare",
	'JBrowse/View/TrackList/Hierarchical'
],
function(declare,Hierarchical) {
	return declare('WebApollo.View.TrackList.Hierarchical',Hierarchical,
	{
		addTracks: function( tracks, inStartup ) {
			console.log(tracks);
			alert('Hello World');
			this.inherited(arguments);
		}
	});
});


@@ -179,99 +179,314 @@
 %7B%0A%09%09
-addTracks: function( tracks, inStartup ) %7B%0A%09%09%09console.log(tracks);%0A%09%09%09alert('Hello World');
+// Subclass method for track selector to remove webapollo specific tracks%0A%09%09addTracks: function( tracks, inStartup ) %7B%0A%09%09%09for(i=0;i%3Ctracks.length;i++) %7B%0A%09%09%09%09if(tracks%5Bi%5D.label==%22Annotations%22 %7C%7C tracks%5Bi%5D.label==%22DNA%22) %7B%0A%09%09%09%09%09tracks.splice(i,1);%0A%09%09%09%09%09i=0;//restart for safety%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09//call superclass
 %0A%09%09%09

Complete the modified hierarchical track selector to remove the 'Annotations' and 'DNA' tracks