upgrading to jquery 2