Fixed #4 prototype problem

There was an assumption that the canvas_proto variable is holding a reference to the actual prototype. 
I left the `|| HTMLCanvasElement ` part in case it was actually there for some odd browser. Consider removing that too