Upload improvements

Successful upload shows success button
Remove unnecessary upload.js file
Clicking button directs to refreshed main page
Comments in front-end code for readability, modularity