Removed unneeded js
Removed redundant code