Manage close brackets in JSON/Javascript editors.