Since 1.x and 2.x may include security problem, maybe we should upgrade to 3.x. And for compitable, we could use jQuery Migrate .