removed some commented code from js file