delete unwanted javascript