Changed functions to object.
Added canvas drawing to Canvas object.
Separated draw() into separate functions.
Refactored remoteDraw to draw onto Canvas object.
Refactored clear() to use Canvas object.
Removed extraneous [0] for canvas.
Merge pull request #9 from nicolejpaz/refactor_canvas_js

Refactored canvas js and models