update for new jQuery