Added more comments, added JavaScript form checking for empty fields in upload.jsp