adding travis ci and fixing npm dependencies