Throw error if the jQuery cookie plugin is not present.

Fixes #3.