js ui and rb controller to upload target data