Import: script tag didn't link to right location. Issue #976

The src always pointed to the root of the domain.
When you only allowed requests to a specific path, then the import freezed.

This relates to issue #976