slight tuning in jQuery selectors

The new selector is slightly more restrictive, in case somebody has
.active in container for other purposes.