JQuery UI API as other open-source things, has various quality that sometimes not meet your standards. Always test using demo code before use in production, and consider if you really need it or not. Don't spend too much time on it unless very necessary