Fix js file for upload input