Fix bug where 1.9.1 or later of jquery causes this to break.