Existing slider code errors when using latest jquery UI 1.5.2

Existing slider code errors when using latest jquery UI 1.5.2


My slider code was written using an older version of jquery UI. When
attempting to run with the new library I get the following error
displayed in the firebug console:
this.element.data is not a function
this.element.data("mouse", this);
I see from the docs that the requirements for slider are:
ui.core.js
ui.slider.js
Apparently ui.mouse.js has been removed and its code moved to another
source file. I think it may be 'ui.base.js' but can't be certain.
Do I have all the requirements to create a slider satisfied? Are
there any bugs I should be aware of?
Thanks!