Fixing stuff for publishing on npm