using https as protocol for fetching JS files