update to work on latest jquery (2.1.1) and jquery-ui (1.10.4)