remove data link setup on refresh by javaScript