removed uneeded commented code from js file