Added support for jQuery