Update some deprecated jquery calls