Making the source a commonjs module.  Adding a main attr for npm