Added jQuery support to the plugin