Added File Upload JS, checking for problems