Initial work on jQuery plugin