removed console.logs in js