added before_install to .travis.yml to ensure that npm is installed