Support a wider variety of Require roots: 'js' / 'scripts' folder, or as a
fallback just use the project root. This way there's no case where we just
give up without inserting anything.

Plus: Streamline extension description.