Fixed issues with updating percentages on page

there were spaces between the ‘%’ and the number in the view.php page.
Removed string ‘percent’ from the upload.js script and confirmed that
it is a number