Packaged for NPM

This modest change packages this very fine script for NPM.