use travis build matrix for node and browser tests