Enable Travis CI for NPM.

Closes #34.