function changeQuantity(val){
  var quantity = document.getElementById('q');

  quantity.innerHTML = ''+val;
}
