Connection fixes and jQuery version change