Revert "use jquery-ui for most of the functionality"

This reverts commit cbc311f44f2920d603d8f8fd703aef1ca1613568.