var getArrayOfFinalPrices = function(arrayOfJobs){
	// createJobInstances function in calculator.js
	return createJobInstances(arrayOfJobs);
}

var arrayOfJobs = [];

document.getElementById('save').onclick = function() {
		var price = document.getElementById('price').value
		var people = document.getElementById('workers-needed').value

		var markupCategory = document.getElementById('markupCategory').value

		var job = {price: price, markupCategory: markupCategory, people: people }

		arrayOfJobs.push(job);

		document.getElementById('price').value = "";
		document.getElementById('workers-needed').value = "";
		document.getElementById('markupCategory').value = "";

		return arrayOfJobs;
	}

document.getElementById('done-btn').onclick = function() {
		var arrayOfFinalPrices = createJobInstances(arrayOfJobs);
		document.getElementById('results-list').innerHTML = "";
		for (var i=0;i<arrayOfFinalPrices.length; i++){
			 var newListItem = document.createElement("li");
			 newListItem.innerHTML = arrayOfFinalPrices[i] +"<br/>";
       document.getElementById('results-list').appendChild(newListItem);
		};

		arrayOfJobs = [];
};
@@ -1,148 +1,4 @@
-var getArrayOfFinalPrices = function(arrayOfJobs)%7B%0A%09// createJobInstances function in calculator.js%0A%09return createJobInstances(arrayOfJobs);%0A%7D%0A%0A
 var 

remove unused function