Middleware pattern in JavaScript (es2015) | Heykuki News