npm, travis-ci & a few minor fixes/upgrades

Thanks!