Fix jquery selectors for jquery 1.7.x

@jone They changed the selectors a little bit.