added travis-ci and published to npm