Middleware injector now applies to all .html / .htm pages, not just the index.html page