Added node.extend to package json to make it work.