Cleaning up multivalue ui script