remove http: in href inside script tag