My paint application in HTML5+js+Flask+MongoDB