this must have broken when jquery was updated.

fixes #22