initial jQuery plugin implementation