Migrated to jquery 2.x