Move remainingUploads initializer to javascript section of submission form