Migrate older jQuery code to jQuery 3.0+
https://github.com/jquery/jquery-migrate
If you have not yet upgraded to 1.12.x or 2.2.x,
first upgrade to them and use jQuery Migrate 1.x
to resolve any compatibility issues
before using jQuery Migrate 3.0 and upgrading to jQuery 3.0.
<script src="jquery-3.1.1.js"></script>
<script src="jquery-migrate-3.0.0.js"></script>