First version of jQuery plugin

Still work in progress.