Fixes to post upload javascript in contactdetails to use the correct new
name, and assign to the picture element value