adds node example and functional test
removes functional.js

that test required us to keep node-canvas as lib. This is bad for the project itself as node-canvas requires cairo -- which would make CI hard