Updating for jquery 1.10