adding jquery ui into the mix and some minor changes as well.