Removed the dependency for node.js by converting text generation into python.