Minor jQuery fix

Fixed add event