Updated comment toggle to use ace js calls