remove redundant js