jQuery plugins hw is done