Update pack-tgz-js example

pointer is a property, not a function.