update code mirror to 3.18