Use jQuery plugin best practice