add ace editor into main page