admin medialib - bug fix

another bug fix that resulted from jquery upgrade.