some cleaning up for npm publish