removes send file and corrects mySite-js url