My attempt at a jQuery plugin :)