fix #143

Jquery ui bug : backported https://github.com/jquery/jquery-ui/commit/82f588e82b887fdcb2406da2c5dfedc2f13ebdc9