Fixes an issue with older version of jQuery.

Fixes #6.