Samplr Node.js attempt