delete redundant js