Fix jQuery issue with id changes.