fixed some dependency issues for travis / npm