Redid code/draw behaviour + Added paper.js