Fix javascript file location patching
Merge pull request #67 from evax/dot-js-package-load-fix

Fix javascript file location patching
Add spec for dependencies with .js in, in script injection mode