Make URL to JS relative