updating to use Ace editor