update to use more jquery functionality.  There are some small bugs,
though.