added comments to fileupload.js