finish rough js UI for upload