Allow jQuery 2.x to be used