fixed jQuery changes from ::last to last();