Remove usage of deprecated APIs

My concern in this case was getting the same instance of jQuery.