:gb: Minor jQuery plugin optimisation.