Minor jQuery enhancement