Cleaned up the Javascript in upload.js. Added a note on id naming in the jade