Fixes for jQuery-UI 1.9

Changes from https://github.com/taitems/Aristo-jQuery-UI-Theme/pull/52