Add `scriptRoot` parameter to options

Also adds commits from jadell to:
- Update source map inclusion to use `//#` instead of `//@`
- Include source map file names

****
Reviewer: @casconed