fixed typos
adding support for travis-ci
fixing package.json for legacy npm