complete improvements on js markdown editor