removed unneeded js code

removed unneeded js code