Adds more support for handling require calls in JS

This came from frustration at getting no CA and not being able to jump to files while doing some hyperloop work.

- able to better support hyperlinks jumping to the referenced file in the require call (can do F3 on require to jump to that file).
- able to infer the type exported by the required module/file for require calls that aren't just simple strings arguments, but use path.join to build the string up.