Fixed for latest version of Node and updated example.