Changed textContent to text() for IE compatibility in file upload component.