Updates for new jquery.