removed redundant JS