Unified per request JS and CSS handling