relationList updated to work with the latest jQuery UI