Use npm prepublish script rather than prepublish.js

Not a breaking change, but makes things a little cleaner.