Move from jQuery 1.x to 2.x.