deleted some redundant js