better jquery ui version handling