upgraded codemirror
fixed bug - we're saving the whole doc in modes list, not just code contents
replace Consolas with Ubuntu Mono
removing unnecessary code
removed js libs not in use
updated libraries