結果 : get hostname from url in javascript