HTML Canvas based code editor