nit: for consistency with the changes below, it might be nice to change this to `$("<li/>")`