The display and edit the formula in the HTML5 canvas feature