removed console.log in javascript