JS alert when uploading is inprogress