added support for moderns jQuery versions
updated min