Added in success messages when uploading files, and stopped the error message from flashing for a second when a file was successfully uploaded through a fairly minor change to the logic in the javascript.