changed to jQuery 2.0