Fixed a jQuery binding issue.