Fix broken code for changing product field via stock answer

This broke when fixing the scripts to mostly work without
canconfirm+editbugs. Obviously the JavaScript variable for the
product/component field value does not copy the entire object
but only the string, so it cannot be 'reset' like this.