remove url from js dir files