Fixed inefficient jQuery usage warning.