"main", "browser" fields in package.json

see https://github.com/gritzko/swarm/commit/d5d1081762c51fb1a7a4a5c10d8d2efd766d6b25#commitcomment-7551589
see https://gist.github.com/defunctzombie/4339901