Update example to jQuery plugin syntax