/**
 *
 * This is unnecessary since the php function that is used to query the db for item info
 * (to_js_object_array()) creates the object, and passes it to the Shop....?? I'll look into this
 */

function Item(id, price, image, description) {

    this.id = details['id'];
    this.price = details['price'];
    this.image = image;
    this.description = description;

    return this;
}