Added memory-example dependence on document script
Trying to make it a npm package