Fixed multifile upload JavaScript