Refactor jQuery plugin #2