Commented uploadErrorCheck.js