Added capability to add a product

$('#add-product-submit').click(function () {
  count++;
  var name = $('#product-name').val();
  var price = $('#product-price').val();
  var href = "na";
  var img = $('#product-img-web').val();
  var c = 0;
  var prodnum = count - 1;
  var new_product = {name: name, 
                     price: price,
                     href: href,
                     img: img,
                     count: c,
                     prod_num: prodnum
                    };
  products.push(new_product);
  $('#main-product-list').append(
      '<li class="menu-item" id="' + products[count-1].prod_num + '" >' +
      '<a href="#panel">' +
      '<img src="' + products[count-1].img + '">' +
      '<h2>' + products[count-1].name + '</h2>' +
      '<p>$ ' + products[count-1].price + '</p>' +
      '</a>' +
      '</li>'
  ).trigger("create").listview("refresh");
});