added undefined vars
extended product image to read view id from resource url if no view id is given
factored out hasChanges in Product
added text area for touch devices on product viewer