implementing live ace editor