remove unused parts of ace editor