Support multiple jQuery UI versions, not only two.

Fixes #181