.first() in jquery seems to have changed to return a list rather than an
element.