Adding handler for resize
Added jQuery, canvas resizing, some comments
Merging with master