Edit in JSFiddle

var person = function(fname,lname,website){
	this.fname = fname;
  this.lname = lname;
  this.website = website;
}

var joe = new person("Joe","Steinbring","steinbring.net");

document.getElementById("output").innerHTML = joe.toSource();
<div id="output">

</div>