remove localhost ref in osd js