Commneted some console.log
Update the accept suggestion event
Add the acceptEvent option