prep for initial npm deployment, fixes