This is something of a backport of the D7 version of the module. The dependency on JQ module has been replaced with Libraries API. They don't do exactly the same thing, but while JQ module doesn't seem to be all that alive and kicking (and as such it seems odd to depend it for such a simple module), libraries module is really commonly required for this sort of thing nowadays. That means I don't feel so bad about having it as a requirement.