Bit more work on jQuery UI stuff