Make getUri async so it can check for .js and /index.js alternate paths.