minor jquery adjustments