Upload & upgrade page fix

- fix for upgrade page buttons not working in IE
- cleaned up some unused code related to uploads