Use left for local variables

1)Use let for local variables
2)space to tab
3)resize codemirror with windows