Use sugar-html-graphics
Use flymake-jshint and js-beautify to make the code better