Fixed a bug in NodeJS when running the method replaceCanvas

Hi,

This has fixed the bug for issue #91 on my end. Really new to Caman (and Coffeescript), but all seems well on my end.

Thanks!
Dustin