making ready for npm packaging