function parseJSON() {
		if(xhr.readyState === 4){ //loads data from json into scObj variable each time that XMLHttpRequest ready state reports back as '4'(successful)
			scObj = JSON.parse(xhr.responseText);
			if(animated == true){
				comm(); 
			}
		}
	}
//runs parseJSON function every time XMLHttpRequest ready state changes
runs parseJSON function every time XMLHttpRequest ready state changes
runs parseJSON function every time XMLHttpRequest ready state changes
function parseJSON() {
		if(xhr.readyState === 4){ 
			scObj = JSON.parse(xhr.responseText);
			if(animated == true){
				comm(); 
			}
		}
	}
function parseJSON ( ) { if ( xhr . readyState === 4 ) { scObj = JSON . parse ( xhr . responseText ) ; if ( animated == true ) { comm ( ) ; } } }
runs parseJSON function every time XMLHttpRequest ready state changes
runs parseJSON function every time XMLHttpRequest ready state changes
//loads data from json into scObj variable each time that XMLHttpRequest ready state reports back as '4'(successful)