remove bad js