Fixes #5089: BC fix to allow URL /js/foo/bar.js to fetch view "foo/bar"