removed unneeded coommented code from js file