Using jQuery UI for user interaction