Abstract Express middleware for dealing with static assets like JS and CSS