Streamlined script.js filter methods for blog page