first version after removing jQuery UI