more product page work done.
altered the upload button code to purely use js