Fix missing http scheme from .js file