Supports the latest version of swig.

I also updated the README and removed the node_modules folder (since that shouldn't be stored in the repo).