removed multiple javascript handlers for the same script. added ability to update the page on successful file upload.