Code mirror draft