remove http(s) protocol whne link to js to prevent load fail