Implemented following changes :

1. Optimize selector.
2. removed first() method as it is not required.
3. Used :visible filter to filter p.excerpt