5010 redesign product form

Would be good to put this in a JS file somewhere.

At very least this code doesn't wait until the dom is ready but it probably should do?