var Menu;

Menu = function(title, items, x, y, width, height) {
  'use strict';
  this.title = title;
  this.items = items;
  this.x = x;
  this.y = y;
  this.width = width;
  this.height = height;
};

Menu.prototype.render = function(context) {
  'use strict';
  var i, textMeasure, itemY;
  itemY = 50;
  // Background
  context.fillStyle = '#000000';
  context.fillRect(0, 0, this.width, this.height);

  // Draw title
  context.font = 'bold 80px Monaco, Courier New, monospace';
  context.fillStyle = '#FFFFFF';
  textMeasure = context.measureText(this.title);
  context.fillText(this.title, (this.width / 2) - (textMeasure.width / 2), 100);

  // Draw items
  for (i = 0; i < this.items.length; i++) {
    context.font = 'bold 60px Monaco, Courier New, monospace';
    context.fillStyle = '#FFFFFF';
    textMeasure = context.measureText(this.items[i]);
    context.fillText(this.items[i], (this.width / 2) -
                     (textMeasure.width / 2), 200 + itemY);
    itemY += 100;
  }
};

Menu.prototype.update = function() {
};

@@ -117,16 +117,48 @@
  items;%0A
+  this.selectedItem = items%5B0%5D;%0A
   this.x
@@ -732,16 +732,178 @@
  i++) %7B%0A
+    if (this.items%5Bi%5D === this.selectedItem) %7B%0A      context.font = 'bold 80px Monaco, Courier New, monospace';%0A    context.fillStyle = '#FFCC33';%0A    %7D else %7B%0A  
     cont
@@ -992,16 +992,22 @@
 FFFFF';%0A
+    %7D%0A
     text

Add style to show selected item