I would recommend you not to change entire code if it is not that necessary,because many code is dependent on jQuery library and some functions also deprecate and not support in latest versions. You may use multiple jQuery files on same page.

In this case the problem wasn't the incompatibilty between the jquery verisons, it was the incorrect order of loading javascript and jquery files and calling of functions.
I solved the problem, your answers helped me. Thanks for help!