Replaced document.createElement with new Element
Merge pull request #19 from marcinwieprzkowicz/makeCanvasFix

Replaced document.createElement with new Element