Add support for importing script files in a directory with index.js file
Resolve tests to test the automatic index.js file importing and ensure the web paths use / not "