getURlcontent utility for Core-JS