Fixed NPM packaging issues