removing console logging in js