migrate to jquery 2.0