call javascript uploader files locally