Refactor editing UI for playlist with jQuery UI