Store the canvas

- use canvas.toDataURL() to serialize it
- update sugar-web lib
- jshint fixes