First version of the JQuery plugin.