fixes for new jquery-ui version

Fixes issue #181