var things = null;

function Movable(id, x, y) {
  this.currentX = x;
  this.currentY = y;
  this.id = id;

  this.htmlObj = document.getElementById(id);
  this.htmlObj.style.left = (this.currentX + "px");
  this.htmlObj.style.top = (this.currentY + "px");
//  console.log('Movable() id=' + id + '  currentX = ' + this.currentX + "px    currentX =" + this.currentY + "px");
}


Movable.prototype.move = function(x, y)
{
  destX = destX + x;
  destY = destY + y;
}

Movable.prototype.MoveUp = function(x, y)
{
  move(this.destX, this.destY - 10);
}

Movable.prototype.MoveDown = function(x, y)
{
  move(this.destX, this.destY + 10);
}

Movable.prototype.MoveLeft = function(x, y)
{
  move(this.destX - 10, this.destY);
}

Movable.prototype.MoveRight = function(x, y)
{
  move(this.destX + 10, this.destY);
}

Movable.prototype.InitialScale = function()
{
  console.log('in InitialScale()');
  console.log('In InitialScale().   this.htmlObj.style.width=' + this.htmlObj.style.width + '   id=' /*+ this.id*/);
  console.log('In InitialScale().   DAD id=' + dad.id);
  console.log('In InitialScale().   this.htmlObj.style id=' + this.htmlObj.id);

//  this.htmlObj = document.getElementById(id);
//  this.htmlObj.style.width = (this.currentX + "px");
}

function ScaleObjects()
{
  console.log('in ScaleObjects()');
  for (var thisThing in things)  {  thisThing.InitialScale();  }
  console.log('Done ScaleObjects()');
}

function GameInitilize2(e)
{
  console.log('in GameInitialize2()');
  dad = new Movable("Dad", 3, 5); 
  mom = new Movable("Mom", 5, 59); 
  jordan = new Movable("Jordan", 40, 20); 
  house = new Movable("House", 60, 5); 
  candyhouse = new Movable("CandyHouse", 60, 75); 
//  console.log('Finished GameInitialize2()');
  
  things = new Array(dad, mom, jordan, house, candyhouse);
  console.log('In GameInitilize2().   things.length=' + things.length);
  console.log('In GameInitilize2().   things.[length].id=' + things[0].id);
  
  dad.InitialScale();
  console.log('GameInitilize2: id=' + things[0].id);
  ScaleObjects();
}


function GameInitilize(e)
{ 
//  console.log('In GameInitialize()');
//  window.document.onload = GameInitilize2;
  $(document).ready(GameInitilize2);
}



// console.log('Running Game.js global code.');
GameInitilize();



@@ -1265,24 +1265,172 @@
 Objects()%0A%7B%0A
+  console.log('In GameInitilize2().   things.length=' + things.length);%0A  console.log('In GameInitilize2().   things.%5Blength%5D.id=' + things%5B0%5D.id);%0A
   console.lo
@@ -1584,24 +1584,26 @@
 ilize2(e)%0A%7B%0A
+//
   console.lo
@@ -1947,156 +1947,8 @@
 e);%0A
-  console.log('In GameInitilize2().   things.length=' + things.length);%0A  console.log('In GameInitilize2().   things.%5Blength%5D.id=' + things%5B0%5D.id);%0A
   %0A 
@@ -1968,16 +1968,18 @@
 cale();%0A
+//
   consol

Update Game.js